package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;


@TableName("tb_student")
@Data
@ToString
public class Student {

    @TableId(type = IdType.AUTO)
    private Integer sid;
    @TableField(value = "sname")
    private String sname;


}
